public class Test05 {
    public static void main(String[] args) {
        int[] arr={1,3,4,5,6,7};
        try{
            System.out.println(arr[10]);
            String s=null;
            System.out.println(s);
        }
        catch(ArrayIndexOutOfBoundsException e ){
            System.out.println("索引越界");

        }
        System.out.println("看看我执行了吗");
    }
}
